﻿//
// Created by Administrator on 2020/9/8.
//

#ifndef EXAMPLE_CPP_STUDENT2_H
#define EXAMPLE_CPP_STUDENT2_H

#include "Person2.h"
#include <valarray>

class Student2 : public Person2 {

private:
    std::string school;
    std::valarray<int> score;
public:
    Student2(const char *name, int age, const char *school, std::valarray<int> scoreArr);

    ~Student2();

    void toString();

    friend std::ostream &operator<<(std::ostream &os, const Student2 &student);
};


#endif //EXAMPLE_CPP_STUDENT2_H
